package com.tuanzi.loan.business.service.businesssystem;

import com.tuanzi.loan.business.entity.businesssystem.BusinessPrepay;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.businesssystem.BusinessPrepayRequest;
import com.tuanzi.loan.vo.response.businesssystem.BusinessPrepayResponse;
import org.springframework.data.domain.Page;


public interface BusinessPrepayService extends BaseAuditService<BusinessPrepay,Long> {
    Page<BusinessPrepayResponse> list(PageSearcher<BusinessPrepayRequest> pageSearcher);

    void onSave(BusinessPrepay businessPrepay);

    Double getAllPrepayIncome(BusinessPrepayRequest $);
}
